<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        html,
        body {
            margin: 0%;
        }
        *{
            box-sizing: border-box;
        }
        body{
            font-size: small;
        }
        .ma {
            height: 30px;
            border: 1px solid rgb(182, 173, 173);
            padding: 0%;
            width: 300px;
            padding-left: 10px;
            outline-style: none;


        }

        .fi {
            background-color: #5B9BD5;
            width: 50px;
        }
        .topleft{
            display: flex;
        }

        button {
            cursor: pointer;
            height: 30px;
            color: rgb(255, 255, 255);
            border: none;
        }

        .top {
            display: flex;
            justify-content: space-between;
            margin: 30px

        }
        .mid,
        .bottom{
            margin: 0px 30px;
        }
        .bottom{
            margin-top: 10px;
        }

        .topright button {
            width: 110px;
        }

        .green {
            background-color:#70AD47;
        }

        .yellow {
            background-color: #FFC000;
        }

        .red {
            background-color: #C00000;
        }


        table {
            border: 1px solid rgb(167, 162, 162);
            border-collapse: collapse;
            width: 100%;
            background-color: white;
        }

        td,
        th {
            border: 1px solid rgb(167, 162, 162);
            height: 30px;
        }

        .all {
            height: 100%;
        }
        .bottom{
            display: flex;
            justify-content: flex-end;
            align-items: center;

        }
        .turn button{
            background-color:white;
            color: rgb(75, 68, 68);
        }
        .turn :hover{
            color: rgb(71, 135, 219);
        }

    </style>
</head>
<body>
        <!-- all -->
        <div class="all">
            <!-- top -->
    
            <div class="top">
                <!-- top left -->
                <div class="topleft">
                    <input type="text" placeholder="线索名称/手机号码" class="ma">
                    <button class="fi">搜索</button>
                </div>
                <!-- top right -->
                <div class="topright">
                    <a href="./new.html"><button class="green">新建联系人</button></a>
                    <a href="./edit.html"><button class="yellow">编辑</button></a>
                    <button class="red">批量删除</button>
                </div>
                <!-- top right -->
            </div>
            <!-- mid -->
            <div class="mid">
                <table>
                    <thead>
                        <tr>
                            <th style="width: 40px;"><input type="checkbox"></th>
                            <th>姓名</th>
                            <th>职务</th>
                            <th>性别</th>
                            <th>决策人</th>
                            <th>联系电话</th>
                            <th>邮箱</th>
                            <th>地址</th>
                            <th>备注</th>
                        </tr>
                    </thead>
                    <tbody>
                        <tr>
                            <th><input type="checkbox"></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                        </tr>
                        <tr>
                            <th><input type="checkbox"></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                        </tr>
                        <tr>
                            <th><input type="checkbox"></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                            <th></th>
                        </tr>
                    </tbody>
    
                </table>
            </div>
            <!-- bottom -->
            <div class="bottom">
                <div>共15条</div>
                <div class="page" style="margin-left: 20px;">
                    <select name="" id="">
                        <option value="">每页3条</option>
                        <option value="">每页5条</option>
                        <option value="">每页15条</option>
                    </select>
                </div>
                <div class="turn" style="margin-left: 20px;">
                    <button>&lt;</button>
                    <button>1</button>
                    <button>2</button>
                    <button>3</button>
                    <button>4</button>
                    <button>5</button>
                    <button>&gt;</button>
                </div>
            </div>
            <!-- bottom -->
        </div>
        <!-- all -->
</body>
</html>